package com.guo.boot.service.impl;

import com.guo.boot.entity.User;
import com.guo.boot.mapper.UserMapper;
import com.guo.boot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author HeartGuo
 * @date 2021/12/19 0019 - 18:46
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(String username, String password) {
        return userMapper.login(username,password);
    }
}
